package com.helen.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 2018/5/22.
 */

public class IndexEntity implements Serializable{

    /**
     * code : 0
     * msg : 获取成功
     * banner_list : [{"id":1,"title":"测试1","type":0,"img":"http://39.104.50.19/Images/201805111504523039552.jpg","value":"https://www.baidu.com","index":1},{"id":2,"title":"测试2","type":7,"img":"http://39.104.50.19/Images/201805111505165391964.jpg","value":"2","index":2},{"id":3,"title":"测试3","type":1,"img":"http://39.104.50.19/Images/201805111505328079702.png","value":"","index":3}]
     * notice_list : [{"id":1,"title":"测试公告1","time":"2018-05-11 00:00"},{"id":2,"title":"测试公告2","time":"2018-05-11 00:00"}]
     * sale_list : [{"id":5,"name":"测试赛哈发生的回复","img":"http://39.104.50.19/Images/201804250933313061842.png"},{"id":6,"name":"发的换股的复合弓已的复合弓IE发给自己哦如果","img":"http://39.104.50.19/UserImg/SystemImg.png"}]
     */

    private int code;
    private String msg;
    private List<BannerListBean> banner_list;
    private List<NoticeListBean> notice_list;
    private List<SaleListBean> sale_list;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BannerListBean> getBanner_list() {
        return banner_list;
    }

    public void setBanner_list(List<BannerListBean> banner_list) {
        this.banner_list = banner_list;
    }

    public List<NoticeListBean> getNotice_list() {
        return notice_list;
    }

    public void setNotice_list(List<NoticeListBean> notice_list) {
        this.notice_list = notice_list;
    }

    public List<SaleListBean> getSale_list() {
        return sale_list;
    }

    public void setSale_list(List<SaleListBean> sale_list) {
        this.sale_list = sale_list;
    }

    public static class BannerListBean implements Serializable{
        /**
         * id : 1
         * title : 测试1
         * type : 0
         * img : http://39.104.50.19/Images/201805111504523039552.jpg
         * value : https://www.baidu.com
         * index : 1
         */

        private int id;
        private String title;
        private int type;
        private String img;
        private String value;
        private int index;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }
    }

    public static class NoticeListBean implements Serializable{
        /**
         * id : 1
         * title : 测试公告1
         * time : 2018-05-11 00:00
         */

        private int id;
        private String title;
        private String time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }
    }

    public static class SaleListBean implements Serializable{
        /**
         * id : 5
         * name : 测试赛哈发生的回复
         * img : http://39.104.50.19/Images/201804250933313061842.png
         */

        private int id;
        private String name;
        private String img;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
